package com.fm.dao;

import com.fm.pojo.Product;

import java.util.List;

public interface ProductMapper {
    int deleteByPrimaryKey(String id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKeyWithBLOBs(Product record);

    int updateByPrimaryKey(Product record);

    int updateTime(String id);

    int updateStatus(String id);

    List<Product> selectAllProduct();

    List<Product> selectByUserId(String userId);
}